package com.sdx.console.customer.web.query;

import com.ibeetl.admin.core.annotation.Query;
import com.ibeetl.admin.core.util.enums.CoreDictType;
import com.ibeetl.admin.core.web.query.PageParam;
import java.util.Date;
import com.sdx.common.utils.Utils;
/**
 *会员管理查询
 */
public class CustomerInfoQuery extends PageParam {
    @Query(name = "会员类型", display = true)        
    private String customerType;
    @Query(name = "注册类型 ", display = true)        
    private String regType;
    @Query(name = "业务模块", display = true)        
    private Integer module;
    @Query(name = "来源渠道", display = true)        
    private String channel;
    @Query(name = "真名", display = true)        
    private String customerName;
    @Query(name = "会员等级", display = true)        
    private String customerLevel;
    @Query(name = "绑定手机号", display = true)        
    private String phone;
    @Query(name = "orgId", display = true)        
    private Integer orgId;
    @Query(name = "直播权限", display = true)        
    private String zhiboPower;
    @Query(name = "是否为老师", display = true)        
    private Integer isTeacher;
    @Query(name = "可用标记", display = true)        
    private Integer custStatus;
    @Query(name = "注册时间", display = true)        
	private String registerTime;
	private Date registerTimeStart;
	private Date registerTimeEnd;
    public String getCustomerType(){
        return  customerType;
    }
    public void setCustomerType(String customerType ){
        this.customerType = customerType;
    }
    public String getRegType(){
        return  regType;
    }
    public void setRegType(String regType ){
        this.regType = regType;
    }
    public Integer getModule(){
        return  module;
    }
    public void setModule(Integer module ){
        this.module = module;
    }
    public String getChannel(){
        return  channel;
    }
    public void setChannel(String channel ){
        this.channel = channel;
    }
    public String getCustomerName(){
        return  customerName;
    }
    public void setCustomerName(String customerName ){
        this.customerName = customerName;
    }
    public String getCustomerLevel(){
        return  customerLevel;
    }
    public void setCustomerLevel(String customerLevel ){
        this.customerLevel = customerLevel;
    }
    public String getPhone(){
        return  phone;
    }
    public void setPhone(String phone ){
        this.phone = phone;
    }
    public Integer getOrgId(){
        return  orgId;
    }
    public void setOrgId(Integer orgId ){
        this.orgId = orgId;
    }
    public String getZhiboPower(){
        return  zhiboPower;
    }
    public void setZhiboPower(String zhiboPower ){
        this.zhiboPower = zhiboPower;
    }
    public Integer getIsTeacher(){
        return  isTeacher;
    }
    public void setIsTeacher(Integer isTeacher ){
        this.isTeacher = isTeacher;
    }
    public Integer getCustStatus(){
        return  custStatus;
    }
    public void setCustStatus(Integer custStatus ){
        this.custStatus = custStatus;
    }
	public String getRegisterTime(){
		return  registerTime;
	}
	public void setRegisterTime(String registerTime ){
		this.registerTime = registerTime;
		Date[] timePair = Utils.parseQueryTime(registerTime);
		if (timePair!=null && timePair[0]!=null) {
			this.registerTimeStart = timePair[0];
		}
		if (timePair!=null && timePair.length==2 && timePair[1]!=null) {
		this.registerTimeEnd = timePair[1];
		}

	}
	public Date getRegisterTimeStart(){
		return  registerTimeStart;
	}
	public void setRegisterTimeStart(Date registerTimeStart ){
		this.registerTimeStart = registerTimeStart;
	}
	public Date getRegisterTimeEnd(){
		return  registerTimeEnd;
	}
	public void setRegisterTimeEnd(Date registerTimeEnd ){
		this.registerTimeEnd = registerTimeEnd;
	}
 
}
